A sheriff officer can evict a tenant provided that the landlord has a possession order. sheriff officers cannot evict tenants at night (unless they have been granted special permission or are securing someone's safety), they can however do it anytime during the day.
Where required, sheriff officers are entitled to use necessary and reasonable force (eg provided they have the correct warrant they can force a door or break a lock or a window) to enter the property and remove:
the tenants’ possessions
anyone else living in the property
Once the tenant has been removed from the property, the sheriff officer will change the locks and secure the property for the landlord. The landlord or the landlord’s representative must be present when the tenant is evicted, so that the sheriff officer can give them possession.
For more information, read Sheriffs.