Two variants of a fictitious domain method for numerical realization of scalar unilateral problems are presented and justified.