The penalty of prision correccional in its minimum period shall be imposed upon any public officer or employee who, not being authorized by judicial order, shall enter any dwelling against the will of the owner thereof, search papers or other effects found therein without the previous consent of such owner, or, having surreptitiously entered said dwelling, and being required to leave the premises, shall refuse to do so.
If the offense be committed in the night-time, or if any papers or effects not constituting evidence of a crime be not returned immediately after the search made by the offender, the penalty shall be prision correctional in its medium and maximum periods.