The court has ordered foreigners living outside the church off Greenmarket Square to refrain from making fires and urinating on pavements, as well as to stop intimidating and threatening city officials around the church.